﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ProjectBase.Core;

using Survey.Common;

namespace Survey.Common.Validation
{
    public interface IEntityValidator<in TEntity> : IValidator<TEntity>
        where TEntity : class, IPersistentObject
    {
        bool CanBeDeleted(TEntity entity);
        bool CanBeEdited(TEntity entity);
    }
}